#pragma once

#define LOGIN_EXIT  0
#define LOGIN_ERROR -1
#define LOGIN_SERVER_ERROR -2

// DlgLogin dialog
namespace bdc {

	namespace dlg {

		class DlgLogin : public CDialogEx
		{
			DECLARE_DYNAMIC(DlgLogin)

		public:
			LONG64 nLoginResult;

		private:
			CString sMail;
			CString sPassword;

		public:
			DlgLogin(CWnd* pParent = NULL);   // standard constructor
			virtual ~DlgLogin();

			// Dialog Data
			enum { IDD = IDD_LOGIN_DIALOG };

		protected:
			virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

			DECLARE_MESSAGE_MAP()

		public:
			virtual BOOL OnInitDialog();
			afx_msg void OnClose();
			afx_msg void OnLogin();
		};
	}
}
